package xyz.labmem.lipx.core.tool

import java.io.IOException
import java.util.*


object VersionTool {

    fun getVersion(): String {
        try {
            val prop = Properties()
            prop.load(getResourceFile("version.properties").stream)
            return prop.getProperty("version", "3.0")
        } catch (ex: IOException) {
            throw RuntimeException(ex)
        }
    }


}